﻿using System.Web.Mvc;
using System.Web.Routing;
using Nop.Web.Framework.Mvc.Routes;

namespace Nop.Plugin.Misc.ECustomerList
{
    public partial class RouteProvider : IRouteProvider
    {
        public void RegisterRoutes(RouteCollection routes)
        {
            routes.MapRoute("Plugin.Misc.ECustomerList.List",
                 "Plugins/MiscECustomerList/List",
                 new { controller = "MiscECustomerList", action = "List" },
                 new[] { "Nop.Plugin.Misc.ECustomerList.Controllers" }
            );
            routes.MapRoute("SendPMT",
                           "sendpm/",
                           new { controller = "PrivateMessages", action = "SendPM" },
                           new[] { "Nop.Web.Controllers" });
        }
        public int Priority
        {
            get
            {
                return 0;
            }
        }
    }
}
